import { GOODS, GOODS_COLUMNS, UPLOAD } from './api';
import { METHOD, request } from '@/utils/request';

//修改项目名称
async function editProjectApi(params) {
  return request('/editProjectName', METHOD.PUT, params);
}

async function goodsList(params) {
  return request(GOODS, METHOD.GET, params);
}

async function goodsColumns() {
  return request(GOODS_COLUMNS, METHOD.GET);
}

export default { editProjectApi, goodsList, goodsColumns };
